package cn.sdormitory.basedata.dto;

import cn.sdormitory.common.utils.poi.ExcelTitle;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.io.Serializable;

/**
 * @author: lx
 * @date: 2023/9/25 9:07
 * @description:
 */
@Data
public class StudentExportDTO implements Serializable {

    private static final long serialVersionUID = 1L;


    @ExcelProperty("学生ID")
    @ExcelTitle(title = "学生ID")
    @ColumnWidth(12)
    private Long id;

    @ExcelProperty("姓名")
    @ExcelTitle(title = "姓名")
    @ColumnWidth(12)
    private String studentName;

    @ExcelProperty("手机号")
    @ExcelTitle(title = "手机号")
    @ColumnWidth(12)
    private String phone;

    @ExcelProperty("班级")
    @ExcelTitle(title = "班级")
    @ColumnWidth(12)
    private String className;

    @ExcelProperty("楼栋")
    @ExcelTitle(title = "楼栋")
    @ColumnWidth(12)
    private String buildName;

    @ExcelProperty("楼层")
    @ExcelTitle(title = "楼层")
    @ColumnWidth(12)
    private String storeyName;

    @ExcelProperty("宿舍号")
    @ExcelTitle(title = "宿舍号")
    @ColumnWidth(12)
    private String dormitoryNo;
}
